docs: add docs for GtkCellLayoutIface
authorWilliam Jon McCann <william.jon.mccann@gmail.com>
Tue, 21 Jan 2014 04:25:42 +0000 (23:25 -0500)
committerWilliam Jon McCann <william.jon.mccann@gmail.com>
Tue, 21 Jan 2014 18:33:45 +0000 (13:33 -0500)
gtk/gtkcelllayout.h

index 8f3ee49efec5919d213c8a9ade6070aab57a330c..a0e17d509f3f9a22b4dcb1b52f3a237271a38da5 100644 (file)
@@ -55,10 +55,32 @@ typedef void (* GtkCellLayoutDataFunc) (GtkCellLayout   *cell_layout,
                                         GtkTreeIter     *iter,
                                         gpointer         data);
 
+/**
+ * GtkCellLayoutIface:
+ * @pack_start: Packs the cell into the beginning of cell_layout.
+ * @pack_end: Adds the cell to the end of cell_layout.
+ * @clear: Unsets all the mappings on all renderers on cell_layout and
+ *    removes all renderers from cell_layout.
+ * @add_attribute: Adds an attribute mapping to the list in
+ *    cell_layout.
+ * @set_cell_data_func: Sets the #GtkCellLayoutDataFunc to use for
+ *    cell_layout.
+ * @clear_attributes: Clears all existing attributes previously set
+ *    with gtk_cell_layout_set_attributes().
+ * @reorder: Re-inserts cell at position.
+ * @get_cells: Get the cell renderers which have been added to
+ *    cell_layout.
+ * @get_area: Get the underlying #GtkCellArea which might be
+ *    cell_layout if called on a #GtkCellArea or might be NULL if no
+ *    #GtkCellArea is used by cell_layout.
+ */
 struct _GtkCellLayoutIface
 {
+  /*< private >*/
   GTypeInterface g_iface;
 
+  /*< public >*/
+
   /* Virtual Table */
   void (* pack_start)         (GtkCellLayout         *cell_layout,
                                GtkCellRenderer       *cell,